package com.xbts;

import org.opensaml.DefaultBootstrap;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 * @author xbts
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class XbtsApplication
{
    static {
        try {
            DefaultBootstrap.bootstrap();
        } catch (Exception e) {
            System.out.println("bootstrap failed !" + e.getMessage());
        }
    }
    public static void main(String[] args)
    {
        SpringApplication.run(XbtsApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  项目启动成功   ლ(´ڡ`ლ)ﾞ  ");
    }
}
